cl = 0.6;

Point(1) = {8.96697877729,-0.798984524346,0,cl};
Point(2) = {9.0803979106,-0.334909715204,0,cl};
Point(3) = {9.04953183407,1.34394915316,0,cl};
Point(4) = {9.06136687406,4.4706352202,0,cl};
Point(5) = {9.06794189629,6.20768303523,0,cl};
Point(6) = {9.03992499604,8.63926262343,0,cl};
Point(7) = {8.93614922865,10.722857943,0,cl};
Point(8) = {8.45993498034,12.7456781405,0,cl};
Point(9) = {7.86898659426,13.9570139658,0,cl};
Point(10) = {7.05602162452,15.5140352372,0,cl};
Point(11) = {6.28027858613,17.0713438615,0,cl};
Point(12) = {6.09899061233,18.3437421617,0,cl};
Point(13) = {6.0326559437,20.4855264279,0,cl};
Point(14) = {6.12397569677,24.9445238588,0,cl};
Point(15) = {6.06794189629,29.8076830352,0,cl};
Point(16) = {6.15794664491,33.9192709031,0,cl};
Point(17) = {6.09252517381,46.1356451436,0,cl};
Point(18) = {6.05749491653,46.7143737291,0,cl};
Point(19) = {6.32024011007,47.2954011372,0,cl};
Point(20) = {7.29392784522,48.8662153442,0,cl};
Point(21) = {8.56780187266,51.0762459058,0,cl};
Point(22) = {9.76635536778,53.0540953865,0,cl};
Point(23) = {10.4772979094,54.0438821853,0,cl};
Point(24) = {10.8525855666,54.8573780272,0,cl};
Point(25) = {11.2250240475,54.9181531493,0,cl};
Point(26) = {12.3789039194,54.9270610868,0,cl};
Point(27) = {14.0911127616,54.9402793167,0,cl};
Point(28) = {14.9095569166,54.8307978911,0,cl};
Point(29) = {15.4672283846,54.661403402,0,cl};
Point(30) = {15.6513655347,54.1417258216,0,cl};
Point(31) = {15.6478588562,53.2153003202,0,cl};
Point(32) = {15.6415030014,51.536154099,0,cl};
Point(33) = {15.668643232,48.8729681355,0,cl};
Point(34) = {15.6927151189,45.3991598583,0,cl};
Point(35) = {15.7132803273,40.9989260797,0,cl};
Point(36) = {15.8137685836,38.0468068526,0,cl};
Point(37) = {16.1415334413,36.1386404315,0,cl};
Point(38) = {16.7294134837,34.1166822925,0,cl};
Point(39) = {17.3199235349,32.7895432795,0,cl};
Point(40) = {18.1703296034,31.2907109547,0,cl};
Point(41) = {18.9824179035,29.502083308,0,cl};
Point(42) = {19.2009278087,28.2299723606,0,cl};
Point(43) = {19.2337663919,27.0722278367,0,cl};
Point(44) = {19.3782707692,25.9153453713,0,cl};
Point(45) = {19.8207697646,24.8186633223,0,cl};
Point(46) = {20.3771262283,24.3018592702,0,cl};
Point(47) = {21.4178061343,23.9045939924,0,cl};
Point(48) = {22.3481352506,23.8538762191,0,cl};
Point(49) = {22.792168418,23.162505327,0,cl};
Point(50) = {23.160881053,22.2389533539,0,cl};
Point(51) = {23.5670347867,21.3735903274,0,cl};
Point(52) = {24.1610515165,20.9728768157,0,cl};
Point(53) = {24.4975830705,21.380774148,0,cl};
Point(54) = {24.5394075174,22.5969949713,0,cl};
Point(55) = {24.4746070207,25.1440903944,0,cl};
Point(56) = {24.484469554,27.7496621169,0,cl};
Point(57) = {24.4503159663,28.5599970778,0,cl};
Point(58) = {24.2648638118,28.7322650952,0,cl};
Point(59) = {24.0780966528,28.5571235495,0,cl};
Point(60) = {23.8913294938,28.3819820039,0,cl};
Point(61) = {23.6292418025,27.9746593773,0,cl};
Point(62) = {23.1066005918,27.565325281,0,cl};
Point(63) = {22.6588415785,27.2723690779,0,cl};
Point(64) = {22.2130550719,27.5005272194,0,cl};
Point(65) = {21.7694602394,28.3077012992,0,cl};
Point(66) = {21.6617394587,29.3490679297,0,cl};
Point(67) = {21.7407858369,30.5655761059,0,cl};
Point(68) = {21.9299638374,31.3776351837,0,cl};
Point(69) = {22.3050323272,32.1332294317,0,cl};
Point(70) = {22.4939911602,32.8873869157,0,cl};
Point(71) = {22.570626697,33.4669775597,0,cl};
Point(72) = {22.2362868171,33.6380961658,0,cl};
Point(73) = {21.9750757954,33.4623799145,0,cl};
Point(74) = {21.4539687565,33.458356975,0,cl};
Point(75) = {20.9705219837,33.570424576,0,cl};
Point(76) = {20.4872943784,33.7403937708,0,cl};
Point(77) = {19.7454857602,34.4294658403,0,cl};
Point(78) = {19.2662031682,35.6416637241,0,cl};
Point(79) = {19.0098138295,36.7397825372,0,cl};
Point(80) = {19.0498849371,37.4927906099,0,cl};
Point(81) = {19.1267396413,38.1302828477,0,cl};
Point(82) = {19.2024985084,38.4782671164,0,cl};
Point(83) = {18.8685969633,38.7651889101,0,cl};
Point(84) = {18.6461420448,38.9950711685,0,cl};
Point(85) = {18.2765527402,39.6870167663,0,cl};
Point(86) = {18.1703661313,41.1336945537,0,cl};
Point(87) = {18.178256158,43.2181519317,0,cl};
Point(88) = {18.1517734296,46.0550426768,0,cl};
Point(89) = {18.0953012943,50.8023986655,0,cl};
Point(90) = {18.1047254928,53.2921672004,0,cl};
Point(91) = {18.0771469274,55.8395499763,0,cl};
Point(92) = {18.0443083442,56.9972945001,0,cl};
Point(93) = {18.0097164217,57.6918262733,0,cl};
Point(94) = {17.6773490484,58.3840592239,0,cl};
Point(95) = {17.2320008767,58.728020553,0,cl};
Point(96) = {16.7487732713,58.8979897478,0,cl};
Point(97) = {15.4832276054,58.8882197519,0,cl};
Point(98) = {13.7337968318,58.8747141692,0,cl};
Point(99) = {11.4634781868,58.9150872408,0,cl};
Point(100) = {10.1979325208,58.9053172448,0,cl};
Point(101) = {9.71317074359,58.6699752828,0,cl};
Point(102) = {9.1515542622,57.7971410829,0,cl};
Point(103) = {8.36485285344,56.4593700155,0,cl};
Point(104) = {7.3913842857,54.9464574024,0,cl};
Point(105) = {5.63165264401,52.2115769095,0,cl};
Point(106) = {4.13313202401,49.6524126679,0,cl};
Point(107) = {3.72127993766,49.0123342546,0,cl};
Point(108) = {3.60764163694,48.4903578517,0,cl};
Point(109) = {3.5680088641,47.8531529667,0,cl};
Point(110) = {3.56362551596,46.69512109,0,cl};
Point(111) = {3.594674232,35.2311802165,0,cl};
Point(112) = {3.57516833274,30.0779383653,0,cl};
Point(113) = {3.58258349669,22.2036089566,0,cl};
Point(114) = {3.56965261966,18.7874149204,0,cl};
Point(115) = {3.63971313422,17.6299577494,0,cl};
Point(116) = {3.7848750137,16.6467800655,0,cl};
Point(117) = {4.18905624079,15.2603026945,0,cl};
Point(118) = {5.07558840361,13.4722497534,0,cl};
Point(119) = {6.22026324441,11.0492907499,0,cl};
Point(120) = {6.55021977621,9.72014026714,0,cl};
Point(121) = {6.61962278854,8.3889783146,0,cl};
Point(122) = {6.35468592093,7.22893496816,0,cl};
Point(123) = {5.72015974869,6.7608372195,0,cl};
Point(124) = {5.0514799888,7.10307443169,0,cl};
Point(125) = {4.56934822048,7.56255159566,0,cl};
Point(126) = {3.9753314907,7.96326510733,0,cl};
Point(127) = {3.78922183394,7.96182834322,0,cl};
Point(128) = {3.67667937026,7.72935990941,0,cl};
Point(129) = {3.63792326706,7.32376139975,0,cl};
Point(130) = {3.59587965274,6.04963898258,0,cl};
Point(131) = {3.51464160041,4.25411486807,0,cl};
Point(132) = {3.47522799498,3.67481157691,0,cl};
Point(133) = {3.58601711941,3.44406726004,0,cl};
Point(134) = {3.77168844135,3.32970083649,0,cl};
Point(135) = {3.95801726552,3.38903919444,0,cl};
Point(136) = {4.36855434743,3.68170804466,0,cl};
Point(137) = {5.00176551523,3.80239623032,0,cl};
Point(138) = {5.96843989334,3.52035943455,0,cl};
Point(139) = {6.67236907791,2.65729523067,0,cl};
Point(140) = {7.07764614204,1.56032582888,0,cl};
Point(141) = {7.33315881114,0.230600640456,0,cl};
Point(142) = {7.3677507336,-0.46393113273,0,cl};
Point(143) = {7.73909337749,-0.692663979837,0,cl};
Point(144) = {8.25998124901,-0.746542634149,0,cl};
Point(145) = {8.70642525783,-0.800995994107,0,cl};

Line(1) = {56, 53};
// Line(2) = {63, 48};
Spline(3) = {48, 49, 50, 51, 52, 53};
Spline(4) = {56, 57, 58, 59, 60, 61, 62, 63};
// Line(5) = {68, 40};
Spline(6) = {68, 67, 66, 65, 64, 63};
Spline(7) = {48, 47, 46, 45, 44, 43, 42, 41, 40};
Line(12) = {31, 90};
Line(13) = {37, 79};
Spline(14) = {68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79};
Spline(15) = {37, 38, 39, 40};
Spline(16) = {79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90};
Spline(17) = {31, 32, 33, 34, 35, 36, 37};
Line(18) = {103, 24};
Line(19) = {19, 109};
Line(20) = {15, 112};
Spline(21) = {90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103};
Spline(22) = {24, 25, 26, 27, 28, 29, 30, 31};
Spline(23) = {24, 23, 22, 21, 20, 19};
Spline(24) = {103, 104, 105, 106, 107, 108, 109};
BSpline(25) = {19, 17, 16, 15};
Spline(26) = {112, 111, 110, 109};
Line(27) = {6, 121};
// Line(28) = {122, 138};
Spline(29) = {15, 14, 13, 12, 11, 10, 9, 8, 7, 6};
Spline(30) = {121, 120, 119, 118, 117, 116, 115, 114, 113, 112};
Line(31) = {122, 121};
Spline(32) = {122, 123, 124, 125, 126, 126, 127, 128};
Spline(33) = {128, 129, 130, 131, 132, 133};
Spline(34) = {133, 134, 135, 136, 137, 138};
Spline(35) = {138, 139, 140, 141, 142, 143, 144, 145, 1};
Spline(36) = {1, 2, 3, 4, 5, 6};


Line Loop(39) = {13, 16, -12, 17};
Plane Surface(40) = {39};
Line Loop(41) = {21, 18, 22, 12};
Plane Surface(42) = {41};
Line Loop(43) = {23, 19, -24, 18};
Plane Surface(44) = {43};
Line Loop(45) = {25, 20, 26, -19};
Plane Surface(46) = {45};
Line Loop(47) = {29, 27, 30, -20};
Plane Surface(48) = {47};
Line Loop(49) = {14, -13, 15, -7, 3, -1, 4, -6};
Plane Surface(50) = {49};
Line Loop(51) = {27, -31, 32, 33, 34, 35, 36};
Plane Surface(52) = {51};

Transfinite Line{12, 13, 18, 19, 20, 27} = 6;
Transfinite Line{16, 17, 25, 26, 29, 30} = 30;
Transfinite Line{23, 24} = 15;
Transfinite Surface{40, 44, 46, 48};
Recombine Surface{40, 44, 46, 48};

Mesh.FlexibleTransfinite = 1;
Mesh.Algorithm = 8;
Mesh.RecombineAll = 1;
Mesh.RecombinationAlgorithm = 1;

// l'extrusion est maintenant necessaire pour creer des nouvelles entites
Extrude {0,0,5.0} {
  Surface{40, 42, 44, 46, 48, 50, 52};
  Layers{10};
  Recombine;
}
